import request from "@/utils/request";

// 查询
export function listHandover(query) {
  return request({
    url: "/handover/list",
    method: "get",
    params: query,
  });
}
// 新增
export function addHandover(data) {
  return request({
    url: "/handover",
    method: "post",
    data: data,
  });
}



// 修改部门
export function updateDept(data) {
  return request({
    url: "/system/dept",
    method: "put",
    data: data,
  });
}

// 删除部门
export function delDept(deptId) {
  return request({
    url: "/system/dept/" + deptId,
    method: "delete",
  });
}
